package com.apartment.own.service;



import com.apartment.own.domain.OwnCategoryEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

/**
 * 账单详情Service接口
 *
 * @author @Dog_E
 * @date 2020-08-28
 */
public interface IOwnCategoryEntityService extends IService<OwnCategoryEntity> {
    /**
     * 添加物品
     * @param categoryEntity
     * @return
     */
    public int insertItems(OwnCategoryEntity categoryEntity);

    /**
     * 查询物品
     * @return
     */
    public List<OwnCategoryEntity> listWithTree();
}
